
public class main {


	public static void main(String[] args) {
		BTreePlus tree = new BTreePlus(3);
		tree.insert(  80 );
		tree.insert(  90 );
		tree.insert(  95 );
		tree.insert(  97 );
		tree.insert( 101 );
		tree.insert(  99 );
		tree.insert( 100 );
		tree.insert(  98 );
		tree.insert(  93 );
		tree.insert( 106 );
		System.out.println(tree.printLeafs());
		
		//5 8 1 7 3 12 9 6
		BTreePlus tree2 = new BTreePlus(3);
		tree2.insert(5 );
		tree2.insert(8 );
		tree2.insert(1 );
		tree2.insert( 7 );
		tree2.insert( 3 );
		tree2.insert(  12 );
		tree2.insert( 9);
		tree2.insert( 6 );
		System.out.println(tree2.Order(7));
		System.out.println(tree2.search(3));
		System.out.println(tree2.search(40));
		System.out.println(tree2.Order(12));
		System.out.println(tree2.printLeafs());
		
	}
	
	
	

}
